
import java.util.Scanner;

class SOMA {

    public static void main(String[] args) {
        Scanner entrada = new Scanner(System.in);
        int N = entrada.nextInt();
        int soma = 0;
        for (int i = 0; i < N; i++) {
            soma += entrada.nextInt();
        }
        System.out.println(soma);
    }
}
